import request from '@/utils/request';

import{ParEditPwd} from './data.d'

export async function myInfo(): Promise<any> {
    return request({
        url: '/adminuser/info',
        method: 'POST',
        
    });
}
export async function ApiUpdateMyInfo(params): Promise<any> {
    return request({
        url: '/adminuser/Update',
        method: 'POST',
        data:params
    });
}

export async function ApiEditPwd(params:ParEditPwd): Promise<any> {
    return request({
        url: '/adminuser/EditPwd',
        method: 'POST',
        data:params
    });
}